<?php
date_default_timezone_set("PRC");
$yii = dirname(__FILE__) . '/yii/framework/yii.php';

require_once( dirname(__FILE__) . '/protected/config/define.php' );
$main   = dirname(__FILE__) . '/protected/config/main.php';
// $params = require(__DIR__.'/protected/config/params.php');
$config = $main;//array_merge($main, $params);

defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);

require_once($yii);
Yii::createWebApplication($config)->run();
